[INFO] cloning repository https://github.com/garasubo/nickel-hello
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garasubo/nickel-hello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarasubo%2Fnickel-hello", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarasubo%2Fnickel-hello'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ee3a58de642e2e50eeaee4fc49d94b3c5c08aa3
[INFO] checking garasubo/nickel-hello against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarasubo%2Fnickel-hello" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/garasubo/nickel-hello on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/garasubo/nickel-hello
[INFO] finished tweaking git repo https://github.com/garasubo/nickel-hello
[INFO] tweaked toml for git repo https://github.com/garasubo/nickel-hello written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/garasubo/nickel-hello already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4fb1998a37a50d3af7996d2a72b76fda57d780cff5a7c598ec7e3299720ab821
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4fb1998a37a50d3af7996d2a72b76fda57d780cff5a7c598ec7e3299720ab821", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fb1998a37a50d3af7996d2a72b76fda57d780cff5a7c598ec7e3299720ab821", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fb1998a37a50d3af7996d2a72b76fda57d780cff5a7c598ec7e3299720ab821", kill_on_drop: false }`
[INFO] [stdout] 4fb1998a37a50d3af7996d2a72b76fda57d780cff5a7c598ec7e3299720ab821
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d97bc08233e15662806d45b48c29bd2e8675c27e046057e6706e7d669b6a96a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0d97bc08233e15662806d45b48c29bd2e8675c27e046057e6706e7d669b6a96a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking hashbrown v0.9.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]    Compiling rustversion v1.0.3
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking linked-hash-map v0.5.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking groupable v0.2.0
[INFO] [stderr]     Checking version_check v0.9.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking tracing-core v0.1.16
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking getrandom v0.1.15
[INFO] [stderr]     Checking socket2 v0.3.15
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking os_info v2.0.8
[INFO] [stderr]     Checking resolv-conf v0.6.3
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking pbkdf2 v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking futures-intrusive v0.3.1
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking webpki v0.21.3
[INFO] [stderr]     Checking sct v0.6.0
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking rustls v0.17.0
[INFO] [stderr]     Checking webpki-roots v0.19.0
[INFO] [stderr]     Checking webpki-roots v0.18.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling serde_with_macros v1.1.0
[INFO] [stderr]    Compiling derivative v2.1.1
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.14.1
[INFO] [stderr]     Checking tokio-rustls v0.13.1
[INFO] [stderr]     Checking serde v1.0.116
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking trust-dns-proto v0.19.5
[INFO] [stderr]     Checking trust-dns-resolver v0.19.5
[INFO] [stderr]     Checking hyper v0.13.7
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking serde_bytes v0.11.5
[INFO] [stderr]     Checking mustache v0.9.0
[INFO] [stderr]     Checking serde_with v1.4.0
[INFO] [stderr]     Checking bson v1.1.0
[INFO] [stderr]     Checking nickel v0.11.0
[INFO] [stderr]     Checking hyper-rustls v0.21.0
[INFO] [stderr]     Checking reqwest v0.10.8
[INFO] [stderr]     Checking mongodb v1.1.1
[INFO] [stderr]     Checking nickel-hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/main.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |             "name" => name,
[INFO] [stdout]     |                           ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mongodb::ThreadedClient`
[INFO] [stdout]   --> src/main.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 | use mongodb::{Client, ThreadedClient};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ no `ThreadedClient` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mongodb::db::ThreadedDatabase`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use mongodb::db::ThreadedDatabase;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadedDatabase` in `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `db` is private
[INFO] [stdout]    --> src/main.rs:18:14
[INFO] [stdout]     |
[INFO] [stdout] 18  | use mongodb::db::ThreadedDatabase;
[INFO] [stdout]     |              ^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `db` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mongodb-1.1.1/src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     mod db;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use(bson, doc)]
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use bson::oid::ObjectId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/main.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |             "name" => name,
[INFO] [stdout]     |                           ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mongodb::ThreadedClient`
[INFO] [stdout]   --> src/main.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 | use mongodb::{Client, ThreadedClient};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ no `ThreadedClient` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mongodb::db::ThreadedDatabase`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use mongodb::db::ThreadedDatabase;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadedDatabase` in `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `db` is private
[INFO] [stdout]    --> src/main.rs:18:14
[INFO] [stdout]     |
[INFO] [stdout] 18  | use mongodb::db::ThreadedDatabase;
[INFO] [stdout]     |              ^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `db` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mongodb-1.1.1/src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     mod db;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use(bson, doc)]
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use bson::oid::ObjectId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_json` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/main.rs:37:43
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Ok(doc) => Ok(Bson::Document(doc).to_json()),
[INFO] [stdout]    |                                           ^^^^^^^ method not found in `Bson`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:46:21
[INFO] [stdout]     |
[INFO] [stdout] 46  |       router.get("/", middleware! {|_, response|
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 47  | |         let mut data = HashMap::new();
[INFO] [stdout] 48  | |         data.insert("color", "Green");
[INFO] [stdout] 49  | |         data.insert("name", "California Apple");
[INFO] [stdout] 50  | |         data.insert("price", "2.50");
[INFO] [stdout] 51  | |         return response.render("assets/hello.tpl", &data);
[INFO] [stdout] 52  | |     });
[INFO] [stdout]     | |_____^ unreachable expression
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nickel-0.11.0/src/macros/middleware.rs:117:41
[INFO] [stdout]     |
[INFO] [stdout] 117 |   macro_rules! as_block { ($b:block) => ( $b ) }
[INFO] [stdout]     |                                           -- any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `mongodb::Client` in the current scope
[INFO] [stdout]   --> src/main.rs:55:30
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let client = Client::connect("localhost", 27017)
[INFO] [stdout]    |                              ^^^^^^^ function or associated item not found in `mongodb::Client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]   --> src/main.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let user = request.json_as::<User>().unwrap();
[INFO] [stdout]    |                            ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `User`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `mongodb::Client` in the current scope
[INFO] [stdout]    --> src/main.rs:100:30
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let client = Client::connect("localhost", 27017)
[INFO] [stdout]     |                              ^^^^^^^ function or associated item not found in `mongodb::Client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:107:31
[INFO] [stdout]     |
[INFO] [stdout] 107 |           match coll.insert_one(doc! {
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 108 | |             "name" => name,
[INFO] [stdout] 109 | |             "email" => email
[INFO] [stdout] 110 | |         }, None) {
[INFO] [stdout]     | |         ^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |_________unreachable expression
[INFO] [stdout]     |           any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToJson`
[INFO] [stdout]   --> src/main.rs:26:35
[INFO] [stdout]    |
[INFO] [stdout] 26 | use rustc_serialize::json::{Json, ToJson};
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_json` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/main.rs:37:43
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Ok(doc) => Ok(Bson::Document(doc).to_json()),
[INFO] [stdout]    |                                           ^^^^^^^ method not found in `Bson`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nickel-hello`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:46:21
[INFO] [stdout]     |
[INFO] [stdout] 46  |       router.get("/", middleware! {|_, response|
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 47  | |         let mut data = HashMap::new();
[INFO] [stdout] 48  | |         data.insert("color", "Green");
[INFO] [stdout] 49  | |         data.insert("name", "California Apple");
[INFO] [stdout] 50  | |         data.insert("price", "2.50");
[INFO] [stdout] 51  | |         return response.render("assets/hello.tpl", &data);
[INFO] [stdout] 52  | |     });
[INFO] [stdout]     | |_____^ unreachable expression
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nickel-0.11.0/src/macros/middleware.rs:117:41
[INFO] [stdout]     |
[INFO] [stdout] 117 |   macro_rules! as_block { ($b:block) => ( $b ) }
[INFO] [stdout]     |                                           -- any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `mongodb::Client` in the current scope
[INFO] [stdout]   --> src/main.rs:55:30
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let client = Client::connect("localhost", 27017)
[INFO] [stdout]    |                              ^^^^^^^ function or associated item not found in `mongodb::Client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]   --> src/main.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let user = request.json_as::<User>().unwrap();
[INFO] [stdout]    |                            ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `User`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `mongodb::Client` in the current scope
[INFO] [stdout]    --> src/main.rs:100:30
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let client = Client::connect("localhost", 27017)
[INFO] [stdout]     |                              ^^^^^^^ function or associated item not found in `mongodb::Client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:107:31
[INFO] [stdout]     |
[INFO] [stdout] 107 |           match coll.insert_one(doc! {
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 108 | |             "name" => name,
[INFO] [stdout] 109 | |             "email" => email
[INFO] [stdout] 110 | |         }, None) {
[INFO] [stdout]     | |         ^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |_________unreachable expression
[INFO] [stdout]     |           any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToJson`
[INFO] [stdout]   --> src/main.rs:26:35
[INFO] [stdout]    |
[INFO] [stdout] 26 | use rustc_serialize::json::{Json, ToJson};
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0d97bc08233e15662806d45b48c29bd2e8675c27e046057e6706e7d669b6a96a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d97bc08233e15662806d45b48c29bd2e8675c27e046057e6706e7d669b6a96a", kill_on_drop: false }`
[INFO] [stdout] 0d97bc08233e15662806d45b48c29bd2e8675c27e046057e6706e7d669b6a96a
